<?php 

//print_r($_GET);


require('./conn.php');

$id = $_GET['id'];
$sql = "delete from msg where id=$id";

if(mysqli_query($conn,$sql)){
	header("Location:02.php");
} else{
	echo '删除失败';
}





?>